package net.sky.oa.service.addrbook.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.sky.oa.dao.addrbook.AddAddrgroupDao;
import net.sky.oa.model.AddAddrgroup;
import net.sky.oa.service.addrbook.AddAddrgroupService;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class AddAddrgroupServiceImpl extends BaseServiceImpl<AddAddrgroup> implements AddAddrgroupService {
	
	private AddAddrgroupDao dao;
	
	public AddAddrgroupServiceImpl() {}

	public List<AddAddrgroup> findAllAddrgroup() {
		return this.dao.findAllAddrgroup();
	}

	@Autowired
	public void setDao(AddAddrgroupDao dao) {
		super.setDao(dao);
		this.dao = dao;
	}
}